//package com.kunbo.controller.local;
//
//import com.kunbo.entity.Event;
//import com.kunbo.util.CommunityConstant;
//import com.kunbo.util.HostHolder;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//
//@Controller
//public class CommentController implements CommunityConstant {
//
//    @Autowired
//    private HostHolder hostHolder;
//
//    //触发评论事件
//    Event event = new Event()
//            .setTopic(TOPIC_COMMENT)
//            .setUserId(hostHolder.getUser().getId())
//            .setEntityType(comment.getEntity)
//            .setEntityUserId();
//
//    return "redirect:/disscuss/detail" + discussPostId;
//
//}
